package com.baolai.service;

import com.baolai.entity.Shelf;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface ShelfService extends IService<Shelf> {
    Shelf getShelf(Integer id);

    boolean addShelf(Shelf shelf);

    IPage<Shelf> listShelf(Integer current, Integer size);

    boolean updateShelf(Shelf shelf);
}
